﻿using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCoreLib.Automation.Data.SqlClient.Metadata
{
    [DebuggerDisplay("{Name}")]
    public class SqlParameterMetadata
    {
        public readonly string Name;
        private readonly SqlParameter Parameter;


        public SqlParameterMetadata(SqlParameter parameter)
        {
            Parameter = parameter;
            Name = parameter.ParameterName;
        }
    }
}
